import FinanceManager from '@/components/entrance/FinanceManager';
import RoleManager from '@/components/entrance/RoleManager';
import Home from '@/components/Home';
import Vue from 'vue';
import Router from 'vue-router';


Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Home',
      component: Home,

      children: [
        {
          path: '/FinanceManager',
          name: 'FinanceManager',
          component: FinanceManager
        },
        {
          path: '/',
          name: 'RoleManager',
          component: RoleManager
        },
        {
          path: '/RoleManager',
          name: 'RoleManager',
          component: RoleManager
        }
      ]
    }
  ]
})
